#ifndef IO_SUPT_H
#define IO_SUPT_H

#include "mpx_supt.h"
#include "int_supt.h"
#include "pcb.h"
#include "TRMDRIVE.H"

typedef struct IOD{
  PCB *current;
  short op_code;
  char *buffer;
  int *length;
  struct IOD *next;
};

struct IOCB{
  int flag;
  PCB *current;
  char *buffer;
  int *length;
  struct IOD *next;
};

int ioscheduler(PCB *pcb_req, int dev_id, int op_code, char *bufferaddress, int *countaddress);

#endif
